package com.un.ebs.memorial.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/3/13 9:44
 */
@Getter
public enum MemorialRecordTypeEnum implements IEnum {

    Event(0, "事件记录"),
    UIButton(1, "界面操作"),
    Comment(2, "留言"),
    ShortEssay(3, "短文"),
    Photo(4, "相册"),
    InsideUrl(10, "内部链接"),
    OutsideUrl(11, "外部链接");

    MemorialRecordTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
